/*
 * @Autor: lxj
 */
import request from '@/config/axios'

// 新增接口
// 参数：Id  必填
export const insertRDJCGraphResource = async (params) => {
  return await request.post({url: '/graphResource/create', data: params})
}
// 修改接口
// 参数：Id  必填
export const updateRDJCGraphResource = async (params) => {
  return await request.put({url: '/graphResource/update', data: params})
}
// list接口
// 查询参数：relationName
export const getRDJCGraphResourceList = async (params) => {
  return await request.get({url: '/graphResource/list', params})
}

// 分页接口
// 查询参数：relationName
export const getRDJCGraphResourcePage = async (params) => {
  return await request.get({url: '/graphResource/page', params})
}
// 删除接口
// 参数：ids   必填
export const deleteRDJCGraphResource = async (params) => {
  return await request.delete({url: '/graphResource/delete' + '?id=' + params})
}
